.monitor-page {
  width: 100%;
  height: 100vh;
  min-width: 1365px;
  padding: 10px;
  margin: 0 auto;
  overflow: auto;
  display: flex;
  flex-direction: column;
  white-space: pre-line;

  .search-box {
    width: 100%;
    height: 100px;
    border: 1px solid #DCDFE6;
    padding: 0 10px;
    border-radius: 5px;
    margin-bottom: 10px;

    /deep/ .el-form-item {
      margin-bottom: 0 !important;
    }

    .search-input {
      margin-bottom: 5px;
      width: 300px;
      border-bottom: 1px solid #DCDFE6;
      height: 40px;
      line-height: 40px;
      color: #C0C4CC;
    }

    .search-form {
      margin-bottom: 5px;
    }

  }

  .monitor-box {
    flex: 2;
    min-height: 500px;
    border: 1px solid #DCDFE6;
    /* padding: 0 10px; */
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;

    .opt-class {
      padding: 3px 5px;
      border-radius: 25px;
      font-size: 14px;

      &::before {
        display: inline-block;
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin-right: 3px;
        margin-bottom: 1px;
      }
    }

    .readyingC {
      color: #398ff7;
      /* background: #e6f6fe; */

      &::before {
        background-color: #398ff7;
      }
    }

    .failC {
      color: #F56C6C;
      /* background-color: #fee9e9; */

      &::before {
        background-color: #F56C6C;
      }
    }

    .waitingC {
      color: #DCDFE6;

      &::before {
        background-color: #DCDFE6;
      }
    }

    .completeC {
      color: #52c41a;
      /* background-color: #eef9e8; */

      &::before {
        background-color: #52c41a;
      }
    }

    /deep/ .el-table--enable-row-hover .el-table__body tr:hover>td {
      background-color: rgba(0, 0, 0, 0) !important;
    }

  }

  .title {
    width: 100%;
    height: 40px;
    color: #606266;
    border-bottom: 1px solid #DCDFE6;
    line-height: 40px;
    background: #fafafa;
    padding-left: 10px;

    .close-icon {
      float: right;
      line-height: 40px;
      margin-right: 20px;
      font-size: 14px;
    }
  }

  .pagination-class {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
  }

  .subtask-box {
    flex: 1;
    min-height: 500px;
    border: 1px solid #DCDFE6;
    border-radius: 5px;

    .childTask {
      display: flex;
      padding: 5px 15px 10px 5px;
      width: 100%;
      height: calc(100% - 30px);

      .task-list {
        min-width: 300px;
        height: 100%;
        border-right: 1px solid #DCDFE6;
        padding: 10px 15px 10px 5px;

        .task-title {
          padding: 15px;
          border-bottom: 1px solid #DCDFE6;
          font-weight: bold;
        }

        .child-list {
          width: 100%;
          height: calc(100% - 45px);
          overflow: auto;

          .no-data {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
          }

          .item {
            width: 100%;
            padding: 15px;
            border-bottom: 1px solid #DCDFE6;
            cursor: pointer;
            line-height: 18px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;

            /* &:hover {
              background-color: #f6f7fa;
            } */
          }
        }

        .child-list::-webkit-scrollbar {
          display: none;
        }
      }

      .task-table {
        width: 100%;
        height: 100%;
        padding: 5px 0px 10px 15px;
        display: flex;
        flex-direction: column;

        /deep/ .el-form-item {
          margin-bottom: 10px !important;
        }
      }
    }
  }

  /deep/ .checked-row {
    background: #eef5fe;
  }

  /deep/ .header-class {
    background-color: #fafafa;

    /deep/ th {
      background-color: #fafafa !important;
    }
  }

  .journal_class {
    /deep/ .el-dialog__body {
      padding: 10px 20px 30px;
    }

    .file_holder {
      width: 100%;
      min-height: 200px;
      max-height: 500px;
      /* overflow: auto; */
      text-align: left;
      background-color: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 2px 2px 0px 0px;
    }

    .file_header {
      width: 100%;
      height: 40px;
      color: #333333;
      font-size: 14px;
      line-height: 30px;
      padding: 5px 10px;
      background-color: #fcfcfc;
      border-top-right-radius: 4px;
      border-top-left-radius: 4px;
      border-bottom: 1px solid #dce3e8;
    }

    .file_content {
      width: 100%;
      height: calc(100% - 40px);
      padding: 10px;
      overflow: auto;
      /* white-space: pre-line; */
      line-height: 20px;
    }
  }

  /deep/ .el-dialog.pend-class {
    min-height: 400px;
    max-height: 620px;

    /deep/ .el-dialog__header {
      padding: 0px !important;
    }

    /deep/ .el-dialog {
      border-radius: 5px !important;
    }

    /deep/ .el-dialog__body {
      padding: 0 !important;
      min-height: 400px;
      max-height: 620px;

      .title {
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
      }
    }

    .pendingC {
      display: block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #faad14;
      margin-right: 3px;
      position: relative;
    }

    .pendingC:after {
      position: absolute;
      /* top: -1px;
  left: -1px; */
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 1px solid #faad14;
      content: "";
      animation: aniStatusProcessing 1.2s ease-in-out infinite;
    }

    .pendging-box {
      padding: 0 10px 10px;
      height: calc(100% - 95px);
    }

    .pending-table {
      width: 100%;
      height: 100%;

      .status-class {
        display: flex;
        align-items: center;
      }
    }
  }

  .pendging-class {
    padding-left: 20px;
    margin-top: 5px;

    /deep/.el-form-item {
      margin-bottom: 15px;
    }
  }

  .ivu-badge-status-processing {
    background-color: #2d8cf0;
    position: relative;
  }

  .ivu-badge-status-processing-failC {
    background-color: #F56C6C;
    position: relative;
  }

  .ivu-badge-status-processing-waitingC {
    background-color: #DCDFE6;
    position: relative;
  }

  .ivu-badge-status-processing-completeC {
    background-color: #52c41a;
    position: relative;
  }

  .ivu-badge-status-dot {
    width: 6px;
    height: 6px;
    margin-right: 5px;
    display: inline-block;
    border-radius: 50%;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }



  .ivu-badge-status-processing:after {
    position: absolute;
    /* top: -1px;
  left: -1px; */
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #2d8cf0;
    content: "";
    animation: aniStatusProcessing 1.2s ease-in-out infinite;
  }

  @keyframes aniStatusProcessing {
    0% {
      transform: scale(.8);
      opacity: .5
    }

    to {
      transform: scale(2.4);
      opacity: 0
    }
  }
}